﻿@using WebSite.ViewModels;

@model ButtonsViewModel

@foreach (ButtonItemBase button in Model.Buttons)
{
    <table class="@button.AClass" onclick="@button.OnClick">
        <tr>
            <td><span class="@button.SpanClass" /></td>
            <td>
                <a style="text-decoration:none" title="@button.Caption" href="@button.GetHRef(Url)" target="@button.Target">
                    &nbsp;@button.Caption
                </a>
            </td>
        </tr>
    </table>
    <text>&nbsp;</text>
}